﻿var routes = [
    // 主页
    {
        path: '/',
        componentUrl: './pages/home.html',
        name: 'home'
    },
    // 图表主页
    {
        path: '/chart/',
        componentUrl: './pages/chart.html'
    },
    // 高级搜索
    {
        path: '/advanceSearch/',
        name: 'advanceSearch',
        componentUrl:'./pages/advanceSearch.html'
    },
    // 选择检查项目
    {
        path: '/select-exam-items/',
        name: 'select-exam-items',
        componentUrl:'./pages/select-exam-items.html'
    },
    // 选择检查部位
    {
        path: '/select-exam-body-parties',
        name: 'select-exam-body-parities',
        componentUrl:'./pages/select-exam-body-parties.html'
    },
    // 报告详情
    {
        path: '/report-detail/',
        name: 'post',
        componentUrl: './pages/report-detail.html'
    },
    // 撤回弹窗页面
    {
        path: '/revoke/',
        name: 'revoke',
        componentUrl:'./pages/revoke.html'
    },
    // 修正弹窗页面
    {
        path: '/amend/',
        name: 'amend',
        componentUrl:'./pages/amend.html'
    },
    // 确认用户弹窗页面
    {
        path: '/verify-user/',
        name: 'verify-user',
        componentUrl:'./pages/verify-user.html'
    },
    // 驳回弹窗页面
    {
        path: '/reject/',
        name: 'reject',
        componentUrl:'./pages/reject.html'
    }, 
    // 模板弹窗页面
    {
        path: '/template/',
        name: 'template',
        componentUrl:'./pages/template.html'
    },
    // 检查详情
    {
        path: '/basic-info/',
        name: 'basicInfo',
        componentUrl:'./pages/basic-info.html'
    },
    // 查看图像
    {
        path: '/view-image/',
        name: 'view-image',
        componentUrl:'./pages/view-image.html'
    },
    // Default route (404 page). MUST BE THE LAST
    {
        path: '(.*)',
        url: './pages/404.html',
    }
];
